#ifndef ADC_H_
#define ADC_H_

#ifdef __cplusplus
 extern "C" {
#endif

#include "gd32f4xx.h"
#include "main.h"

#define ADC_CHANNEL_COUNT 16
extern uint16_t adc_measurements_[ADC_CHANNEL_COUNT];

void ADC0_Init(void);
void ADC1_Init(void);
void ADC2_Init(void);
#ifdef __cplusplus
}
#endif
#endif /* ADC_H_ */